<div class="container" id="ajax_content">
    <?php
        include 'header2.php';
    ?>
    <div class="content">
    	<div class="headcontent">
        <span class="randomtext" style="margin-left:50px">Hi, 
        <?php
                global $session;
                $user_id = $session->get('userid');
                $sql="SELECT fullname FROM user WHERE iduser='$user_id'";
		$result=mysql_query($sql);
		while($res = mysql_fetch_array($result)) {
                    $nama = $res['fullname'];
		}
		echo $nama;
            ?>
        </span>
        <span class="randomtext" style="padding-left:850px">EDIT PHOTO</span>
        <hr/>
        </div>
    	<div class="singlecontent" style="width:650px">
            <div>
                <form method="post" enctype="multipart/form-data">
                    <div class="items">
                        <label>File</label>
                        <input type="file" name="fphoto"/>
                        <span class="validationtext" id="u_fname"></span>
                    </div>
                    <div class="items">
                        <label>Category</label>
                        <select name="kateg">
                            <option>Kategori 1</option>
                            <option>Kategori 2</option>
                            <option>Kategori 3</option>
                        </select>
                    </div>
                    <div class="items">
                        <label>Access</label>
                        <select name="access">
                            <option>Active User</option>
                            <option>Follower</option>
                            <option>Private</option>
                        </select>
                    </div>
                    <div class="items">
                        <label>Comment</label>
                        <select name="comment">
                            <option>Enable</option>
                            <option>Disable</option>
                        </select>
                    </div>
                    <div class="items">
                        <label>Description</label>
                        <textarea name="desc" rows="2" cols="25"></textarea>
                        <div class="validationtext" id="u_desc"></div>
                    </div>
                    <div class="items">
                        <label>Keywords</label>
                        <input type="text" name="key" style="width:220px" />
                        <div class="validationtext" id="u_key"></div>
                    </div>
                    <div class="items">
                        <label>Taken Date</label>
                        <input type="text" name="tgl_ambil" style="width:220px" />
                        <div class="validationtext" id="u_tglambil"></div>
                    </div>
                    <div class="items">
                        <label>Tags</label>
                        <input type="text" name="tag" style="width:220px" />
                        <div class="validationtext" id="u_tag"></div>
                    </div>
                    <div class="items">
                        <button type="submit" style="margin-left:220px">Save Changes</button>
                    </div>
                </form>
            </div>
    	</div>
    </div>
    <div class="footer"></div>
</div>
</body>
</html>
